home *** CD-ROM | disk | FTP | other *** search
- Path: news.ichange.com!newsmaster
- From: Jesse Liberty <jl@staff.ichange.com>
- Newsgroups: comp.lang.c++
- Subject: Re: Learning C++
- Date: Mon, 19 Feb 1996 07:38:05 -0500
- Organization: AT&T
- Message-ID: <31286F2D.751A@staff.ichange.com>
- References: <3122A6ED.6BA4@inch.com> <3123414F.39CF@staff.ichange.com> <312620e8.88282208@news.brookings.net>
- NNTP-Posting-Host: 140.244.99.60
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 2.0b6a (Win95; I)
- CC: jl@staff.ichange.com
-
- Rick W Nath wrote:
- >
- > Jesse Liberty <jl@staff.ichange.com> wrote:
- >
- > > Ken Blum wrote:
- > > >
- > > > 1) Is C a prerequisite to learning C++? Or can I just take a C++
- > > > class?
- > >
- > > Not only is it not prerequisite, I'd argue it is a MISTAKE to start with C. C is syntactically a sub-set of C++ but the
- > > semantics (meaning of the language) are very different. I would strongly urge you to learn C++ first.
- > >
- >
- > I would definitely argue your first point. There semantic differences
- > between C and C++, but the primary differences are that C++ supports Object
- > Oriented Programming within its semantics. You can support an Object
- > Oriented style of programming in C just as well as C++. Look at Motif,
- > that was written in an Object Oriented Style of Design but implemented in
- > C.
-
- Yes, this is an old disagreement. You CAN do OO in C but you don't, and I disagree that you can NOT do so "just as well." The
- language doesn't facilitate it.
-
- In any case, the point is there is no advantage to learning C first; you can learn all of the syntax and all of the semantics
- of C++ at the same time, and not develop a procedural perspective which you'll only have to overcome. Get a good intro to
- C++ which assumes no C experience (Teach Yourself C++ in 21 Days, by Jesse Liberty SAMS 1994, for example <smile>) and learn
- C++ as an object oriented language.
-
- By the way, for what it is worth, Stroustrup strongly agrees with this point, and says so in both of his books.
-
- -j
-
- --
- Jesse Liberty jl@staff.ichange.com
- AT&T CIS: 72241,72
-